lib/commit: Clean up commit file type handling variables
authorColin Walters <walters@verbum.org>
Fri, 23 Jun 2017 21:13:15 +0000 (17:13 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 26 Jun 2017 17:17:32 +0000 (17:17 +0000)
commit1147267e4d849d99dbdc4b8635100b08dc089dae
treea51ce2dba34813686e9b2bece0fd41f818a377c5
parentd0d5f54ce2b6c47ec80bfb0fce8e31049d39361d
lib/commit: Clean up commit file type handling variables

The variables here were duplicative; we don't need two booleans to distinguish
between symlinks and regular files. What we do need to handle is the "physical"
state versus the "object" state. Symlinks objects are stored as regular files in
`bare-user` and `archive`.

Prep for more cleanup.

Closes: #957
Approved by: jlebon
src/libostree/ostree-repo-commit.c